package com.model.vo.sys.sysOperLog;

import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class GetSysOperLogVO{
    @ApiModelProperty(value = "ID,自动递增",required = true)
    private Long sysOperLogId;
    @ApiModelProperty(value = "模块标题",required = true)
    private String title;
    @ApiModelProperty(value = "0:其他,1:新增,2:修改信息,3:修改数据状态,4:授权,5:导出,6:导入,7:强退,8:生成代码,9:清空状态,10:查询数据",allowableValues = "0,1,2,3,4,5,6,7,8,9,10",required = true)
    private Byte businessType;
    @ApiModelProperty(value = "方法名称",required = true)
    private String method;
    @ApiModelProperty(value = "请求方式",required = true)
    private String requestMethod;
    @ApiModelProperty(value = "操作人员",required = true)
    private String userName;
    @ApiModelProperty(value = "0:用户,1:管理员,2:游客",allowableValues = "0",required = true)
    private Byte userType;
    @ApiModelProperty(value = "浏览器类型",required = true)
    private String browser;
    @ApiModelProperty(value = "操作系统",required = true)
    private String os;
    @ApiModelProperty(value = "请求URL",required = true)
    private String operUrl;
    @ApiModelProperty(value = "主机地址",required = true)
    private String operIp;
    @ApiModelProperty(value = "操作地点",required = true)
    private String operLocation;
    @ApiModelProperty(value = "请求参数",required = true)
    private String operParam;
    @ApiModelProperty(value = "返回参数",required = true)
    private String jsonResult;
    @ApiModelProperty(value = "0:正常,1:异常",allowableValues = "0,1",required = true)
    private Byte status;
    @ApiModelProperty(value = "错误消息",required = true)
    private String errorMsg;
    @ApiModelProperty(value = "创建时间",required = true)
    private Date createTime;
    @ApiModelProperty(value = "创建者",required = true)
    private String creator;
    @ApiModelProperty(value = "更新时间",required = true)
    private Date updateTime;
    @ApiModelProperty(value = "修改者",required = true)
    private String modifier;
    @ApiModelProperty(value = "0:有效 1：停用 2：删除",allowableValues = "0",required = true)
    private Byte isDelete;
}
